package com.bulk.demo.controller;

import com.bulk.demo.util.TestUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试 静态方法中调用spring bean controller
 * http://localhost:8080/testUtil
 * @author 散装java
 * @date 2022-08-08
 */
@RestController
public class TestUtilController {

    @GetMapping("/testUtil")
    public String testUtil() {
        return TestUtil.test1();
    }
}
